package cn.itcast.mapper;

import cn.itcast.pojo.withdraw;
import cn.itcast.pojo.withdrawExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface withdrawMapper {
    int countByExample(withdrawExample example);

    int deleteByExample(withdrawExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(withdraw record);

    int insertSelective(withdraw record);

    List<withdraw> selectByExample(withdrawExample example);

    withdraw selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") withdraw record, @Param("example") withdrawExample example);

    int updateByExample(@Param("record") withdraw record, @Param("example") withdrawExample example);

    int updateByPrimaryKeySelective(withdraw record);

    int updateByPrimaryKey(withdraw record);

    Double MoneySum(@Param("openId") String openId);
}